package com.era.act.adm;

import javax.servlet.http.HttpSession;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionSupport;

public class AdminRemoveAction extends ActionSupport{
	private String adminLogin;
	
	
	public String getAdminLogin() {
		return adminLogin;
	}


	public void setAdminLogin(String adminLogin) {
		this.adminLogin = adminLogin;
	}


	public String execute(){
		HttpSession session = ServletActionContext.getRequest()
				.getSession();
		session.removeAttribute("adminLogin");
		
		return SUCCESS;
		
	}

}
